package com.qidian.buy.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.qidian.buy.entity.Item;
import org.apache.ibatis.annotations.Param;

/**
 * @Author 郭浩
 */
public interface ItemMapper extends BaseMapper<Item> {

    int saveItemAndSpecifications(@Param("itemId") Long itemId, @Param("specificationsId") Long specificationsId);

    Item queryById(Long itemId);

}
